package com.jsh.pojo;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class Email {
    private Integer emailId;

    private String receiverAddress;

    private String emailStatus;

    private String emailSubject;

    private String emailInfor;


    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date sendtime;

    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date receiptime;

    public Integer getEmailId() {
        return emailId;
    }

    public void setEmailId(Integer emailId) {
        this.emailId = emailId;
    }

    public String getReceiverAddress() {
        return receiverAddress;
    }

    public void setReceiverAddress(String receiverAddress) {
        this.receiverAddress = receiverAddress == null ? null : receiverAddress.trim();
    }

    public String getEmailStatus() {
        return emailStatus;
    }

    public void setEmailStatus(String emailStatus) {
        this.emailStatus = emailStatus == null ? null : emailStatus.trim();
    }

    public String getEmailSubject() {
        return emailSubject;
    }

    public void setEmailSubject(String emailSubject) {
        this.emailSubject = emailSubject == null ? null : emailSubject.trim();
    }

    public String getEmailInfor() {
        return emailInfor;
    }

    public void setEmailInfor(String emailInfor) {
        this.emailInfor = emailInfor == null ? null : emailInfor.trim();
    }

    public Date getSendtime() {
        return sendtime;
    }

    public void setSendtime(Date sendtime) {
        this.sendtime = sendtime;
    }

    public Date getReceiptime() {
        return receiptime;
    }

    public void setReceiptime(Date receiptime) {
        this.receiptime = receiptime;
    }
}